package com.chinawayltd.ews.sample.mapper;

import com.chinawayltd.ews.sample.model.TTemplateEvent;
import com.chinawayltd.ews.sample.model.TTemplateEventExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface TTemplateEventMapper {
    int countByExample(TTemplateEventExample example);

    int deleteByExample(TTemplateEventExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TTemplateEvent record);

    int insertSelective(TTemplateEvent record);

    List<TTemplateEvent> selectByExample(TTemplateEventExample example);

    TTemplateEvent selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TTemplateEvent record, @Param("example") TTemplateEventExample example);

    int updateByExample(@Param("record") TTemplateEvent record, @Param("example") TTemplateEventExample example);

    int updateByPrimaryKeySelective(TTemplateEvent record);

    int updateByPrimaryKey(TTemplateEvent record);
}